package com.ruoyi.patrol.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备对象 pt_device
 * 
 * @author lkm
 * @date 2024-12-05
 */
public class PtDevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备id */
    private Long deviceId;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String deviceNumber;

    /** 设备地址 */
    @Excel(name = "设备地址")
    private String deviceAddress;

    /** 设备状态（0：在线，1：离线） */
    @Excel(name = "设备状态", readConverterExp = "0=：在线，1：离线")
    private String deviceStatus;

    /** 铃声音量（设备的基本参数） */
    @Excel(name = "铃声音量", readConverterExp = "设=备的基本参数")
    private Long ringVolume;

    /** 报警音量（设备的基本参数） */
    @Excel(name = "报警音量", readConverterExp = "设=备的基本参数")
    private Long policeVolume;

    /** 屏幕亮度 */
    @Excel(name = "屏幕亮度")
    private Long screenBringthess;

    /** 报警灯是否开启 */
    @Excel(name = "报警灯是否开启")
    private String policeLed;

    /** 报警声音是否开启(0：否，1：是) */
    @Excel(name = "报警声音是否开启(0：否，1：是)")
    private String policeSound;

    /** 声音类型 */
    @Excel(name = "声音类型")
    private String soundLedType;

    /** 设备通知（设备的基本参数(0:电话通知，1:短信通知)） */
    @Excel(name = "设备通知", readConverterExp = "设=备的基本参数(0:电话通知，1:短信通知)")
    private String deviceNotice;

    /** 设备音频（设备的基本参数：报警的声音文件路径） */
    @Excel(name = "设备音频", readConverterExp = "设=备的基本参数：报警的声音文件路径")
    private String deviceAudio;

    /** 设备降噪（设备的基本参数） */
    @Excel(name = "设备降噪", readConverterExp = "设=备的基本参数")
    private Long deviceDenoise;

    /** 删除标记 */
    private String delFlag;

    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setDeviceNumber(String deviceNumber) 
    {
        this.deviceNumber = deviceNumber;
    }

    public String getDeviceNumber() 
    {
        return deviceNumber;
    }
    public void setDeviceAddress(String deviceAddress)
    {
        this.deviceAddress = deviceAddress;
    }

    public String getDeviceAddress()
    {
        return deviceAddress;
    }
    public void setDeviceStatus(String deviceStatus) 
    {
        this.deviceStatus = deviceStatus;
    }

    public String getDeviceStatus() 
    {
        return deviceStatus;
    }
    public void setRingVolume(Long ringVolume) 
    {
        this.ringVolume = ringVolume;
    }

    public Long getRingVolume() 
    {
        return ringVolume;
    }
    public void setPoliceVolume(Long policeVolume) 
    {
        this.policeVolume = policeVolume;
    }

    public Long getPoliceVolume() 
    {
        return policeVolume;
    }
    public void setScreenBringthess(Long screenBringthess) 
    {
        this.screenBringthess = screenBringthess;
    }

    public Long getScreenBringthess() 
    {
        return screenBringthess;
    }
    public void setPoliceLed(String policeLed) 
    {
        this.policeLed = policeLed;
    }

    public String getPoliceLed() 
    {
        return policeLed;
    }
    public void setPoliceSound(String policeSound) 
    {
        this.policeSound = policeSound;
    }

    public String getPoliceSound() 
    {
        return policeSound;
    }
    public void setSoundLedType(String soundLedType) 
    {
        this.soundLedType = soundLedType;
    }

    public String getSoundLedType() 
    {
        return soundLedType;
    }
    public void setDeviceNotice(String deviceNotice) 
    {
        this.deviceNotice = deviceNotice;
    }

    public String getDeviceNotice() 
    {
        return deviceNotice;
    }
    public void setDeviceAudio(String deviceAudio) 
    {
        this.deviceAudio = deviceAudio;
    }

    public String getDeviceAudio() 
    {
        return deviceAudio;
    }
    public void setDeviceDenoise(Long deviceDenoise) 
    {
        this.deviceDenoise = deviceDenoise;
    }

    public Long getDeviceDenoise() 
    {
        return deviceDenoise;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deviceId", getDeviceId())
            .append("deviceNumber", getDeviceNumber())
            .append("deviceAddress", getDeviceAddress())
            .append("deviceStatus", getDeviceStatus())
            .append("ringVolume", getRingVolume())
            .append("policeVolume", getPoliceVolume())
            .append("screenBringthess", getScreenBringthess())
            .append("policeLed", getPoliceLed())
            .append("policeSound", getPoliceSound())
            .append("soundLedType", getSoundLedType())
            .append("deviceNotice", getDeviceNotice())
            .append("deviceAudio", getDeviceAudio())
            .append("deviceDenoise", getDeviceDenoise())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
